﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Data;


namespace DaInterFace
{
    public interface IModeClass
    {
        void Start();
    }

    public class Account
    {
        public String ID;
        public String Name;
        public String ConnectionString;
    }

    public enum MessageType
    {
        Note,
        Warning,
        Error,
    }

    public class SetOfBook
    {
        //账套FID
        public string FID { get; set; }
        //账套号
        public string FNumber { get; set; }
        //账套名
        public string FName { get; set; }
    }

    public enum SerialType : int
    { 
        Json = 0,
        Xml = 1
    }

    /// <summary>
    /// 字典—销售账户
    /// </summary>
    public class SalesAccount
    {
        /// <summary>
        /// 三方内码
        /// </summary>
        public String AccountISN;
        /// <summary>
        /// FID
        /// </summary>
        public String AccountFID;
        /// <summary>
        /// 账户编号
        /// </summary>
        public String AccountNo;

    }
}
